package com.wisezone.studentmanager.server;

import java.util.List;

import com.wisezone.studentmanager.model.User;

public interface UserServer {
	/**
	 * 注册
	 */
	String register(String userName,String passWord,String headerUri);
	/**
	 * 登录
	 */
	User login(String userName,String passWord);
	
	List<User> getUserLists();
	
	List<User> getUserLists(int currentNo,int pageSize);
	
	int getTotalCount();
	
	int getTotalCount(int sex,String name,int age);
	List<User> getUserLists(int sex,String userName,int age, int startIndex,int pageSize) ;
}
